package com.test.gk.util;

import java.util.logging.Logger;

public class JulTest02 {
    public static void f1() {
        String name = JulTest02.class.getName();
        Logger logger = Logger.getLogger(name);
        logger.info(name + " => info");
        logger.config(name + " => config");
        logger.fine(name + " => fine");
        System.out.println("log1 name =》" + logger.getName() + "，log1 Parent =》" + logger.getParent() + "，ParentName =》" + logger.getParent().getName());
    }
}
